import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutput;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.io.Serializable;
import java.util.ArrayList;

import com.mxgraph.swing.mxGraphComponent;
import com.mxgraph.view.mxGraph;

public class Test implements Serializable
{
	transient private static mxGraph g;
	transient private static mxGraphComponent gcomp;
	private static int i = 1024;
	
	public static void main(String[] args)
	{
		g = new mxGraph();
		gcomp = new mxGraphComponent(g);
		Game game = new Game();
		game.run();
		
		try
		{
			OutputStream file = new FileOutputStream("C:\\Users\\Taylor Holden\\Documents\\game1.sav");
		    ObjectOutput output = new ObjectOutputStream(file );
		    
		    try
		    {
		    	output.writeObject(game);
		    }
		    finally
		    {
		    	output.close();
		    }
		}
		catch(IOException e)
		{
			System.err.println("IOException!");
			e.printStackTrace();
		}
	}
}
